import { request, L_request } from './request.js'

// 查找分类表的全部数据
export function Navselect() {
	// 
	return L_request({
		url: 'index/Allproject/Navselect',
		method: 'post',
		headers: {
			'Content-Type': 'application/x-www-from-urlencoded',
		},
	
	})
}
//查找项目状态表的全部数据

export function StateNav() {
	// 
	return L_request({
		url: 'index/Allproject/StateNav',
		method: 'post',
		headers: {
			'Content-Type': 'application/x-www-from-urlencoded',
		},
	
	})
}
//查找商品表的全部数据
export function Selectgoods() {
	// 
	return L_request({
		url: 'index/Allproject/Selectgoods',
		method: 'post',
		headers: {
			'Content-Type': 'application/x-www-from-urlencoded',
		},
	
	})
}
//猜你喜欢去查找商品表的全部数据
export function Selectlikegoods() {
	// 
	return L_request({
		url: 'index/Allproject/Selectlikegoods',
		method: 'post',
		headers: {
			'Content-Type': 'application/x-www-from-urlencoded',
		},
	
	})
}
//搜索打印内容
export function Searchcontent(serchdata) {
	// 
	return L_request({
		url: 'index/Allproject/Searchcontent',
		method: 'post',
		headers: {
			'Content-Type': 'application/x-www-from-urlencoded',
		},
		data:{
			serchdata: serchdata
		}
	
	})
}
//通过导航栏的id来寻找商品数据
export function SearchNav(serchdata) {
	// 
	return L_request({
		url: 'index/Allproject/SearchNav',
		method: 'post',
		headers: {
			'Content-Type': 'application/x-www-from-urlencoded',
		},
		data:{
			serchdata: serchdata
		}
	
	})
}
//通过导航栏的状态，去找到相对的id，之后找到对应的商品
export function Searchavstate(serchdata) {
	// 
	return L_request({
		url: 'index/Allproject/Searchavstate',
		method: 'post',
		headers: {
			'Content-Type': 'application/x-www-from-urlencoded',
		},
		data:{
			serchdata: serchdata
		}
	
	})
}
//寻找最新上线的前8条
export function getNewGoods(serchdata) {
	// 
	return L_request({
		url: 'index/Allproject/getNewGoods',
		method: 'post',
		headers: {
			'Content-Type': 'application/x-www-from-urlencoded',
		}	,
		data:{
			serchdata: serchdata
		}
	})
}
//侧导航栏寻找打印导航栏数据
export function Sidenavselect() {
	// 
	return L_request({
		url: 'index/Allproject/Sidenavselect',
		method: 'post',
		headers: {
			'Content-Type': 'application/x-www-from-urlencoded',
		},
	
	})
}

//通过侧导航栏的状态，去找到相对的id，之后找到对应的商品
export function SearchsideNav(serchdata) {
	// 
	return L_request({
		url: 'index/Allproject/SearchsideNav',
		method: 'post',
		headers: {
			'Content-Type': 'application/x-www-from-urlencoded',
		},
		data:{
			serchdata: serchdata
		}
	
	})
}







